/*
 * @Description: 
 * @Author: rendc
 * @Date: 2025-03-03 09:13:27
 * @LastEditors: rendc
 * @LastEditTime: 2025-03-03 09:41:10
 */
public class PhoneTest {
  public static void main(String[] args) {
    int a = 10;
    int[] arr = { 1, 2, 3 };
    System.out.println(a);
    System.out.println(arr);
    // 创建手机类的对象
    Phone p1 = new Phone();
    // 成员属性赋值
    p1.brand = "华为";
    p1.price = 9999.99;
    // 测试成员方法
    p1.call();
    String str = p1.call1();
    System.out.println(str);
    p1.sendMsg("老莫", "我想吃鱼了");
    p1.show();
  }
}